package com.lovo.model;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @title
 * @author: luo
 * @date: 2020/11/20 14:46
 */
@Data
public class UserDTO {
    @NotBlank(message = "姓名不能为空")

    private String name;
    @NotBlank(message = "密码不能为空")
    private String pwd;



}
